package com.example.demo1;

public class DBUtil {
    public static final String DB_NAME="users.db";
    public static final String TABLE_NAME="users";
    //表中各字段

    public static final String STU_NAME="name";
    public static final String STU_PHONE="phone";
    public static final String STU_PWD="pwd";
    public static final String STU_EMAIL="email";

    //创建表语句
    public static final String CREATE_TABLE="create table "+TABLE_NAME+
            "("+STU_NAME+" text primary key ,"+
            STU_PHONE+" text not null,"
            +STU_PWD+" text not null,"
            +STU_EMAIL+" text not null );";

}
